An Almost Perfect Abstraction Operator for Partial Deduction

نویسندگان

  • Michael Leuschel
  • Danny De Schreye
چکیده

A partial deduction strategy for logic programs usually uses an abstraction operator to guarantee the niteness of the set of goals for which partial deductions are produced. Finding an abstraction operator which guarantees niteness and still does not loose relevant information (with respect to the partial deduction) is a diicult problem. In 4] and 7] Gallagher and Bruynooghe proposed to base the abstraction operator on characteristic paths and trees. A characteristic tree captures the structure of the generated partial SLDNF-tree for a given goal, i.e. it captures the relevant information for partial deduction. The generation of more general atoms having the same characteristic tree would lead to an almost perfect abstraction operator. Unfortunately the abstraction operators proposed in 4] and 7] do not always produce more general atoms and do not always preserve the characteristic trees. In this paper we propose to solve this problem through the use of constraints in the partial deduction process. We show that satissability of these constraints is decidable and that they do not introduce a termination problem of their own. We will thus present a partial deduction strategy which has an almost perfect abstraction operator. almost perfect control of polyvariance. always terminates while ensuring the closedness and independence conditions (slightly adapted to allow constraints) of 12].

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Constrained Partial Deduction and the Preservation of Characteristic Trees Constrained Partial Deduction and the Preservation of Characteristic Trees

Partial deduction strategies for logic programs often use an abstraction operator to guarantee the niteness of the set of goals for which partial deductions are produced. Finding an abstraction operator which guarantees niteness and does not lose relevant informationis a diicult problem. In earlier work Gallagher and Bruynooghe proposed to base the abstraction operator on characteristic paths a...

متن کامل

Conjunctive Partial Deduction in Practice

Recently, partial deduction of logic programs has been extended to conceptually embed folding. To this end, partial deductions are no longer computed of single atoms, but rather of entire conjunctions; Hence the term “conjunctive partial deduction”. Conjunctive partial deduction aims at achieving unfold/fold-like program transformations such as tupling and deforestation within fully automated p...

متن کامل

Improving Control in Functional Logic Program Specialization

We have recently deened a framework for Narrowing-driven Partial Evaluation (NPE) of functional logic programs. This method is as powerful as partial deduction of logic programs and positive supercom-pilation of functional programs. Although it is possible to treat complex terms containing primitive functions (e.g. conjunctions or equations) in the NPE framework, its basic control mechanisms do...

متن کامل

Ecological Partial Deduction : Preserving Characteristic

A partial deduction strategy for logic programs usually uses an abstraction operation to guarantee the niteness of the set of atoms for which partial deductions are produced. Finding an abstraction operation which guarantees niteness and does not loose relevant information is a diicult problem. In earlier work Gallagher and Bruynooghe proposed to base the abstraction operation on characteristic...

متن کامل

Abstraction-Based Partial Deduction for Solving Inverse Problems - A Transformational Approach to Software Verification

ion-Based Partial Deduction for Solving Inverse Problems – A Transformational Approach to Software Verification (Extended Abstract) Robert Glück and Michael Leuschel 1 DIKU, Department of Computer Science, University of Copenhagen, DK-2100 Copenhagen, Denmark Email: [email protected] 2 Department of Electronics and Computer Science University of Southampton, Southampton SO17 1BJ, UK Email: mal@ecs...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994